#pragma once
#ifndef SDEF_INTROSCENE
#define SDEF_INTROSCENE

#include <SypX/SypX.h>
#include "Scene.h"


namespace SheepDefence
{
	class IntroScene :	public Scene
	{
	public:
		IntroScene(SypX::Font* f);
		~IntroScene(void);
		virtual void init();
		virtual void run();
		virtual void handleInput();
		void startGame(SypX::GuiComponent* g);
	private:		
		SypX::Renderer* render;
		SypX::Engine* engine;
		SypX::Canvas* canvas;

		SypX::Mesh* logoMesh;
		SypX::Texture* logoTex;
		SypX::MeshInstance* logo;
		SypX::SoundBuffer* snd;
		SypX::Font* font;	

		SypX::TextBox* txtBox;

		float totalTime;
	};
}
#endif